((${input$entity} instanceof LivingEntity)?((LivingEntity)${input$entity}).getHealth():-1)